package com.deyuanyun.pic.settings.service.base;

import com.deyuanyun.pic.settings.domain.base.BizMsgUser;
import com.deyuanyun.pic.settings.service.msgtemplate.MsgQueue;

import java.util.List;

public interface BizMsgUserService {
    BizMsgUser selectByPrimaryKey(String id);

    int deleteByPrimaryKey(String id);

    int updateByPrimaryKeySelective(BizMsgUser record);

    int updateByPrimaryKey(BizMsgUser record);

    int insert(BizMsgUser record);

    /**
     * 根据当前用户id得到用户对应的信息发送记录表的数据
     * @return
     */
    public List<BizMsgUser> queryMsgUserByUser();

    /**
     * 推送用户消息
     * @param pushMsgOperator
     */
    public void insertUserMsg(MsgQueue.PushMsgOperator pushMsgOperator);

}